<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 1000px;
            height: 100px;
            border: 1px solid red;
        }

        img{
            width: 100px; 
            border-radius: 50%;
            transition: all 2s;
        }
        .box:hover img {
            /* translate要先执行才有滚动效果 */
            transform: translate(600px) rotate(360deg);
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="" alt="">
        <img src="./img/cat.jpg" alt="" class="md-r">
        <img src="./img/cat.jpg" alt="" class="md-l">
    </div>
</body>
</html>